(function() {
  var __hasProp = {}.hasOwnProperty,
    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };

  this.AdminSecurityModel = (function(_super) {

    __extends(AdminSecurityModel, _super);

    function AdminSecurityModel() {
      return AdminSecurityModel.__super__.constructor.apply(this, arguments);
    }

    AdminSecurityModel.prototype.defaults = {
      Login: '',
      Password: '',
      ReturnUrl: '',
      Errors: [],
      SuccessMessage: ''
    };

    AdminSecurityModel.prototype.url = SiteMap.Admin.Security.LogOn;

    AdminSecurityModel.prototype.parse = function(response) {
      return {
        Login: response.Login,
        Password: response.Password,
        SuccessMessage: response.SuccessMessage,
        Errors: response.Errors,
        ReturnUrl: response.ReturnUrl
      };
    };

    return AdminSecurityModel;

  })(Backbone.Model);

}).call(this);
